﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace PFM.Entities
{
    [DataContract]
    public enum TranType
    {
        YEAR,
        MONTH,
        WEEK,
        DAY,
        /// <summary>
        /// 不确定
        /// </summary>
        UNCERTAINTY
    }

    [DataContract]
   public  class Transaction:EntityBase
    {
        [DataMember]
       public int Type { get; set; }
        [DataMember]
       public DateTime Date { get; set; }
        [DataMember]
       public Item Item { get; set; }
        [DataMember]
       public double NewPrice { get; set; }
    }
}
